{extend name="main/index" /}
{block name="main"}
<!--管理员列表页面-->
<div class="content-page">
    <div class="content">
        <table class="table table-bordered">

            <tr>
                <th class="active text-center">编号</th>
                <th class="active text-center">用户名</th>
                <th class="active col-xs- text-center">电话</th>
                <th class="active col-xs-4 text-center">角色</th>
                <th class="active col-xs-4 text-center">操作</th>
            </tr>
            <!--遍历-->
            {volist name="list" id="v" }
                <tr>
                    <td class="info text-center">{$v['au_id']}</td>
                    <td class="info text-center">{$v['au_name']}</td>
                    <td class="info text-center">{$v['au_tel']}</td>
                    <td class="info text-center">
                        {volist name="v['role']" id="role"}
                            <span>{$role['r_name']}</span>
                        {/volist}
                    </td>

                    <td class="info text-center">
                        <a href="{:url('admin/Con1/edit',['id'=>$v['au_id']])}" style="margin-left: 20px" class="btn btn-xs btn-default show-btn" data-toggle="modal">修改</a>
                        <button data-id="{$v['au_id']}" style="margin-left: 20px" class="btn btn-xs btn-danger del-btn">删除</button>
                        <!--<a href="{:url('admin/Con1/rolelist',['id'=>$v['au_id']])}" style="margin-left: 20px" class="btn btn-xs btn-primary">查看角色</a>-->
                        <a href="{:url('admin/Con1/role',['id'=>$v['au_id']])}" style="margin-left: 20px" class="btn btn-xs btn-primary">角色分配</a>

                    </td>
                </tr>
            {/volist}
        </table>
    </div>
</div>
{/block}
{block name="my"}


{/block}

